"""live_api URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.9/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.conf.urls import url, include
    2. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
"""
from django.conf.urls import url, include
from django.contrib import admin
from api.views import *


urlpatterns = [
    url(r'^regist/$', user_regist),
    url(r'^login/$', user_login),
    #url(r'^user/(\d+)/changepwd/$', changepwd),
    url(r'^test1/$', test1),
    url(r'^hotlist/$', hotlist),
    url(r'^lastestlist/$', lastestlist),
    url(r'^lastestlist_share/$', lastestlist_share),
    url(r'^zone/(?P<id>[0-9]+)/$', zone),
    url(r'^page/$', page),
    url(r'^rank_actor_hot/$', rank_actor_hot),
    url(r'^rank_actor_fans/$', rank_actor_fans),
    url(r'^rank_room/$', rank_room),
    url(r'^keywords/$', keywords),
    url(r'^search/$', search),
    url(r'^rank_spend/$', rank_spend),
    url(r"^complain/$", user_complain),
    url(r"^alipay/$", recharge),
    url(r"^aliapy_back_url/$", aliapy_back_url),
    url(r"^buy_gift/$", buy_gift),
    url(r"^withdraw_cash/$", withdraw_cash),
    url(r"^iap_pay/$", iap_pay),
    url(r"^Versions/$", Versions),
    url(r"^advertising/$", advertising),
    url(r"^advertising_count/$", advertising_count),
]
